package com.wits.platform.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import net.sf.json.JSONObject;

@Entity
@Table(name="wits_sysprop")
public class SysProp extends BaseEntity{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1243255018663670756L;
	
	
	public SysProp(){
		
	}
	
	private String sppId;
	
	private String sppValue;
	
	private String sppTitle;
	
	
	@Id
	@Column(name="spp_id",length=36)
	public String getSppId() {
		return sppId;
	}



	public void setSppId(String sppId) {
		this.sppId = sppId;
	}


	@Column(name="spp_value",length=100)
	public String getSppValue() {
		return sppValue;
	}



	public void setSppValue(String sppValue) {
		this.sppValue = sppValue;
	}


	@Column(name="spp_title",length=100)
	public String getSppTitle() {
		return sppTitle;
	}



	public void setSppTitle(String sppTitle) {
		this.sppTitle = sppTitle;
	}



	
	@Override
	public String toString() {
		return JSONObject.fromObject(this,SysProp.getBaseJsonConfig()).toString();
	}



	@Override
	public String display() {
		// TODO Auto-generated method stub
		return null;
	}

}
